public class test_java_lessons_wudongqin_class{
    private String name;
    private int age;
    test_java_lessons_wudongqin_class(String name1, int age1){
        this.name = name1;
        this.age = age1;
    }
    void display(){
        System.out.println("姓名是：" + name + "\n" + "年龄是: " + age);
    }
    public static void main(String[] args) {
        test_java_lessons_wudongqin_class person = new test_java_lessons_wudongqin_class("刘晨",15);
        person.display();
    }
}
